package com.maochd.cloud.excel.dto.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.maochd.cloud.excel.annotation.ExportSheet;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ExportSheet(sheetName = "商品信息")
public class ExportGoodsExcel {

    @ApiModelProperty(value = "主键ID")
    @ExcelProperty("主键ID")
    private Long id;

    @ApiModelProperty(value = "商品编号")
    @ExcelProperty("商品编号")
    private String goodsCode;

    @ApiModelProperty(value = "商品库存")
    @ExcelProperty("商品库存")
    private Integer goodsInventory;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "商品名称")
    @ExcelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品单价")
    @ExcelProperty("商品单价")
    private BigDecimal goodPrice;
}
